package cn.lopr.im.android.mvp.contact;

import java.util.List;

import cn.lopr.im.android.bean.ArticlePlate;
import cn.lopr.im.android.bean.ArticleVo;
import cn.lopr.im.android.bean.User;
import cn.lopr.im.android.common.ViewBase;

/**
 * @author shuangyang7
 * @date 2021/5/23 11:51
 */
public interface IArticlePublishContact {

    interface IArticlePublishView extends ViewBase {
        String getContent();

        void getPlatesSuccess(List<ArticlePlate> articlePlates);

        void getArticleSuccess(ArticleVo articleVo);

        void addArticleSuccess();

        void updArticleSuccess();

        String getPlateId();

        String getArticleId();
    }

    interface IArticlePublishPresenter {
        void getArticle(String token);

        void addArticle(String token, User user);

        void updArticle(String token);

        void getPlate(String token);
    }

    interface IArticlePublishModel {

    }
}
